package com.diana.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * @author anzhi
 * @since 2019-04-21
 */
@TableName("manager_audit_record")
public class ManagerAuditRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "auditId", type = IdType.AUTO)
    private Integer auditId;
    /**
     * 审核人
     */
    private String managerId;
    /**
     * 审核类型
     */
    private Integer auditType;
    /**
     * 关联Id
     */
    private String sourceId;
    /**
     * 审核后状态
     */
    private Integer targetStatus;
    /**
     * 审核信息
     */
    private String auditMsg;
    private Date createTime;


    public Integer getAuditId() {
        return auditId;
    }

    public void setAuditId(Integer auditId) {
        this.auditId = auditId;
    }

    public String getManagerId() {
        return managerId;
    }

    public void setManagerId(String managerId) {
        this.managerId = managerId;
    }

    public Integer getAuditType() {
        return auditType;
    }

    public void setAuditType(Integer auditType) {
        this.auditType = auditType;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getTargetStatus() {
        return targetStatus;
    }

    public void setTargetStatus(Integer targetStatus) {
        this.targetStatus = targetStatus;
    }

    public String getAuditMsg() {
        return auditMsg;
    }

    public void setAuditMsg(String auditMsg) {
        this.auditMsg = auditMsg;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ManagerAuditRecord{" +
        ", auditId=" + auditId +
        ", managerId=" + managerId +
        ", auditType=" + auditType +
        ", sourceId=" + sourceId +
        ", targetStatus=" + targetStatus +
        ", auditMsg=" + auditMsg +
        ", createTime=" + createTime +
        "}";
    }
}
